package com.note;

/**
 * @author RenGaoshuai
 * @date 2024/4/15 17:16
 * @description
 */
public class StringTest {
    public static void main(String[] args) {

//        String a = "AAA";
//        String a1 = "AAA";
//
//        System.out.println(a == a1);

        String a2 = new String("AAA");
        String intern = a2.intern();
        String a3 = new String("AAA");

    }
}
